package com.baishancloud.log.common.entity

import scala.beans.BeanProperty

/**
 * 维表（域名）数据对象
 *
 * @param domainId   域名id
 * @param domainType 域名类型
 * @param userId     用户id
 * @author ziqiang.wang
 * @date 2022/2/16 14:05
 */
case class DomainEntity(
                         @BeanProperty var domainId: Int,
                         @BeanProperty var domainType: String,
                         @BeanProperty var userId: Int
                       ) extends Serializable

object DomainEntity extends Serializable {
  def apply(): DomainEntity = new DomainEntity(0, "", 0)

  /**
   * 域名数据默认对象
   */
  val DEFAULT = new DomainEntity(0, "", 0)
}